package com.sxpi.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CouponsVo {
    private Long id;
    private Long userId;
    private String code;
    private String name;
    //(0无门槛  1 类型优惠 2满减优惠)
    private String type;
    private Double value;
    private Double minAmount;
    private Integer timeEffect; //过期时效（天）
    private Integer status; //(0未使用  1已使用  2已过期)
    //item表中的数据----------------------------
    private LocalDateTime startTime;
    private LocalDateTime endTime;
} 